package com.example.mapper;

import com.example.pojo.StuQueryParam;
import com.example.pojo.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface StuMapper {
    //列表查询xml
    List<Student> list(StuQueryParam stuQueryParam);

    //批量删除xml
    void delete(List<Integer> ids);

    //动态条件添加xml
    void insert(Student stu);

    //根据id查询学生信息xml
    Student selectByID(Integer id);

    //更新学生信息xml
    void updata(Student stu);

    //违纪处理
    void DisciplinaryDisposition(Integer id, Integer score);

    //学生学历统计
    List<Map<String, Object>> getStudentDegreeData();
}
